new file use it to complete the build
authorHans Breuer <hans@breuer.org>
Mon, 30 Jul 2001 21:01:12 +0000 (21:01 +0000)
committerHans Breuer <hans@src.gnome.org>
Mon, 30 Jul 2001 21:01:12 +0000 (21:01 +0000)
2001-07-30  Hans Breuer  <hans@breuer.org>

* pixops/makefile.msc : new file
* makefile.msc : use it to complete the build

gdk-pixbuf/ChangeLog
gdk-pixbuf/pixops/makefile.msc [new file with mode: 0644]

index 7de4cb61a566a0ba7a00a0fa8dd6f8f31ef41f01..7498bb87a9043856b5d7d11e819837289ea1a20b 100644 (file)
@@ -1,3 +1,8 @@
+2001-07-30  Hans Breuer  <hans@breuer.org>
+
+       * pixops/makefile.msc : new file
+       * makefile.msc : use it to complete the build
+
 2001-07-20  Hans Breuer  <hans@breuer.org>
 
        * gdk-pixdata.c : don't 'g_tohl (*istream++)', but move
diff --git a/gdk-pixbuf/pixops/makefile.msc b/gdk-pixbuf/pixops/makefile.msc
new file mode 100644 (file)
index 0000000..122cc51
--- /dev/null
@@ -0,0 +1,65 @@
+TOP = ../../..
+PACKAGE = pixops
+PRJ_TOP = ..\..
+
+!INCLUDE $(TOP)/build/win32/make.msc
+
+PKG_CFLAGS = -I.. $(GLIB_CFLAGS)
+
+OBJECTS = \
+       pixops.obj \
+
+#?     timescale.obj
+
+## common stuff
+## compiler and linker switches
+!IFNDEF DEBUG
+# Full optimization:
+OPTIMIZE = -Ox -MD
+LINKDEBUG =
+!ELSE
+# Debugging:
+OPTIMIZE = -Zi -MDd
+LINKDEBUG = /debug
+!ENDIF
+
+# cl -? describes the options
+CC = cl -G5 -GF $(OPTIMIZE) -W3 -nologo
+
+# No general LDFLAGS needed
+LDFLAGS = /link $(LINKDEBUG)
+INSTALL = copy
+
+CFLAGS = -I. -I$(PRJ_TOP) -DHAVE_CONFIG_H
+
+## targets
+all : \
+       $(PRJ_TOP)\config.h \
+       $(PACKAGE).lib
+
+$(PACKAGE).lib : $(OBJECTS)
+       lib /out:$(PACKAGE).lib $(OBJECTS)
+
+$(PACKAGE).dll : $(OBJECTS) $(PACKAGE).def
+       $(CC) $(CFLAGS) -LD -Fe$(PACKAGE).dll $(OBJECTS) $(PKG_LINK) user32.lib advapi32.lib wsock32.lib $(LDFLAGS) /def:$(PACKAGE).def
+
+$(PRJ_TOP)\config.h: $(PRJ_TOP)\config.h.win32
+       copy $(PRJ_TOP)\config.h.win32 $(PRJ_TOP)\config.h
+
+.c.obj :
+       $(CC) $(CFLAGS) -GD -c $(PKG_CFLAGS) $<
+
+clean::
+       del config.h
+       del *.exe
+       del *.obj
+       del *.dll
+       del *.lib
+       del *.err
+       del *.map
+       del *.sym
+       del *.exp
+       del *.lk1
+       del *.mk1
+       del *.pdb
+       del *.ilk